package com.cskaoyan.service;

import com.cskaoyan.bean.MarketTopic;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.vo.AdminTopicVo;

import java.util.Map;

/**
 * @author chengyi
 * @date 2022/10/13 20:38
 */
public interface AdminTopicService {
    CommonData<MarketTopic> list(BasePageInfo info, String title, String subtitle);

    MarketTopic create(MarketTopic marketTopic);

    AdminTopicVo read(Integer id);

    MarketTopic update(MarketTopic marketTopic);

    void delete(MarketTopic marketTopic);


    void batchDelete(Map map);
}
